package com.zhangquancheng.shirodemo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhangquancheng.shirodemo.entity.TbPermission;
import com.zhangquancheng.shirodemo.entity.TbRole;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Repository
public interface TbPermissionMapper extends BaseMapper<TbPermission> {
    int deleteByPrimaryKey(Long id);

    int insert(TbPermission record);

    int insertSelective(TbPermission record);

    TbPermission selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TbPermission record);

    int updateByPrimaryKey(TbPermission record);
}